package com.dcy.znoa.controller.publiz.model.carPark;

/**
 * @author pengyu
 */

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AddCarParkModel {

    Long entityId;

    Integer entityType;//	所属类型 1 园区 2 企业

    @NotNull
    String cpName;

    String contact;

    String contactMan;

    String address;

    String remark;
    @NotNull
    Integer capacity;//最大容量

    Integer residualCapacity;//当前剩余容量

    Long createOperId;

    Date createTime = new Date();
    @NotNull
    Integer validFlag;//原型中居然有这个，新增的时候，无语中~~~~~

}
